Beginning CareKit Development by Christopher Baxter

Beginning CareKit Development by Christopher Baxter

Author:Christopher Baxter
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


A question with a single value input that specifies a unit of measurement.

By specifying these two different answer types, ResearchKit will display the appropriate task form.

The createTask() method creates an array of ORKQuestionSteps that are passed as a parameter to the ORKOrderedTask initializer.

It is possible that you may want to support alternative question types and even different tasks. You can implement other types of ResearchKit tasks or even create your own. To do that, you will need to define the structure of your data differently and adapt your model and methods appropriately.

You should now be able to build and run the application. Press Command+R and run the app in the simulator. Navigate to the Symptom Tracker tab and select one of the assessment events. You should be presented with the ResearchKit ORKTaskViewController and the relevant task view. You will notice, however, that the view will not close at this stage. That’s because you haven’t yet implemented the ORKTaskViewControllerDelegate.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.